package com.hopu.blb_erp.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hopu.blb_erp.entity.User;

import java.util.List;

public interface UserMapper extends BaseMapper<User> {

    User selectByName(String username);

    User selectById(Integer id);

    List<User> select();

    void update(User user);

    Integer selectCount();

    List<User> selectPage(Integer current, Integer pageSize);
}
